package com.fy.oa.zc.task;

import com.seeyon.ctp.form.modules.event.CollaborationEventTask;

public final class FyOAFormEventTask implements CollaborationEventTask{

	@Override
	public int getId() {
		return 1654;
	}

	@Override
	public String getLabel() {
		return "自定义表单事件处理";
	}

	@Override
	public String[] onBeforeCancel(long arg0, String arg1, String arg2) throws Exception {
		return null;
	}

	@Override
	public String[] onBeforeStart(String arg0) throws Exception {
		return null;
	}

	@Override
	public String[] onBeforeStepBack(long arg0, String arg1, String arg2) throws Exception {
		return null;
	}

	@Override
	public String[] onBeforeStop(long arg0, String arg1, String arg2) throws Exception {
		return null;
	}

	@Override
	public String[] onBeforeSubmit(long arg0, String arg1, String arg2) throws Exception {
		return new String[]{"121212","111111111111a"};
	}

	@Override
	public String[] onBeforeTakeback(long arg0, String arg1, String arg2) throws Exception {
		return null;
	}

	@Override
	public void onCancel(long arg0, String arg1, String arg2) throws Exception {
		
	}

	@Override
	public String[] onStart(String arg0) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void onStepBack(long arg0, String arg1, String arg2) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void onStop(long arg0, String arg1, String arg2) throws Exception {
		
	}

	@Override
	public void onSubmit(long arg0, String arg1, String arg2) throws Exception {
		
	}

	@Override
	public void onTakeback(long arg0, String arg1, String arg2) throws Exception {
		
	}

	@Override
	public int sort() {
		return 0;
	}

}
